package com.lzgcoding.onlineshopapp.di

import com.lzgcoding.onlineshopapp.room.AppDatabase
import org.koin.dsl.module

val dataModule = module {
    single { AppDatabase.getInstance(get()) }
    single { get<AppDatabase>().bannerDao() }
    single { get<AppDatabase>().categoryDao() }
    single { get<AppDatabase>().itemDao() }
}